Skip to content

gh-141510: Update PyDict_Copy documentation with note on frozendict#145249

Merged
ZeroIntensity merged 2 commits intopython:mainfrom
eendebakpt:pydict_copy_docs
Feb 26, 2026
Merged

gh-141510: Update PyDict_Copy documentation with note on frozendict#145249
ZeroIntensity merged 2 commits intopython:mainfrom
eendebakpt:pydict_copy_docs

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Feb 26, 2026

@ZeroIntensity ZeroIntensity merged commit 4401f23 into python:main Feb 26, 2026
33 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Feb 26, 2026
bkap123 pushed a commit to bkap123/cpython that referenced this pull request Feb 28, 2026
@vstinner
Copy link
Member

vstinner commented Mar 4, 2026

I'm not sure that it's a good idea to return a frozendict if PyDict_Copy() is called on a frozendict.

I wrote #145517 to change PyDict_Copy() API to always return a dict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants